package com.djx.auth.romten;

import com.djx.common.domain.User;
import com.djx.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "user")
public interface UserRomtenService {
    @PostMapping("/user/findUser")
    public Result<User> findUser(@RequestBody User user);
}
